Piwik\Plugins\TwoFactorAuth\TwoFactorAuth A

Total Complexity 67
Dependencies 13
Dependents 0
Total lines 234
Lines of code 202
Logical lines of code 144
Comment lines 14
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
requiresAuth()
A
52 14 21
onCreateAppSpecificTokenAuth()
A
50 12 26
onRequestDispatch()
A
49 11 28
onRequestDispatchEnd()
A
55 8 19
onSuccessfulSession()
S
62 7 10
getClientSideTranslationKeys()
S
43 1 55
deleteRecoveryCodes()
S
67 3 7
render2FaUserSettings()
S
65 3 9
removeTokenFromOutput()
S
68 2 7
registerEvents()
S
74 1 3
getStylesheetFiles()
S
80 1 3
getJsFiles()
S
80 1 3
getTwoFa()
S
78 1 3
getValidator()
S
78 1 3
isValidTokenAuth()
S
72 1 5